﻿namespace HRM.CORE.REPORT
{
    using DevExpress.Utils;
    using DevExpress.XtraEditors;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms; using Common;

    public class xfmOptionPrintSalaryPay : XtraForm
    {
        private IContainer components;
        private DevExpress.Utils.ImageCollection imageCollection1;

        public xfmOptionPrintSalaryPay()
        {
            this.components = null;
            this.InitializeComponent();
        }

        public xfmOptionPrintSalaryPay(int Level, string Code)
        {
            this.components = null;
            this.InitializeComponent();
            xucOptionPrintSalaryPay pay = new xucOptionPrintSalaryPay(Level, Code) {
                Dock = DockStyle.Fill
            };
            base.Controls.Add(pay);
        }

        public xfmOptionPrintSalaryPay(int Level, string Code, int Month, int Year)
        {
            this.components = null;
            this.InitializeComponent();
            xucOptionPrintSalaryPay pay = new xucOptionPrintSalaryPay(Level, Code, Month, Year) {
                Dock = DockStyle.Fill
            };
            base.Controls.Add(pay);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xfmOptionPrintSalaryPay));
            this.imageCollection1 = new DevExpress.Utils.ImageCollection(this.components);
            this.imageCollection1.BeginInit();
            base.SuspendLayout();
            this.imageCollection1.ImageStream = (ImageCollectionStreamer) manager.GetObject("imageCollection1.ImageStream");
            this.imageCollection1.Images.SetKeyName(0, "ico_alpha_Search_16x16.png");
            this.imageCollection1.Images.SetKeyName(1, "ico_alpha_Delete_16x16.png");
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x20e, 0xd5);
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            base.Name = "xfmOptionPrintSalaryPay";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterScreen;
            this.Text = "T\x00f9y Chọn In";
            this.imageCollection1.EndInit();
            base.ResumeLayout(false);
        }
    }
}

